jquery add remove class clicked element

85

jquery add remove class clicked element -

$(function() {
    $('img').click(function() {
       $(this).toggleClass('active');
    });
});

Comments

Submit
0 Comments